package com.onesports.intelligent.k12.polarlight.domain.vo.sys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author Wsy
 **/
@Data
@ApiModel("单位VO")
public class UnitVO {

    @ApiModelProperty(value = "单位id")
    private String id;

    @ApiModelProperty(value = "所属层级id")
    private String pid;

    @ApiModelProperty(value = "所属层级名称")
    private String belong;

    @ApiModelProperty(value = "教育局/学校名称")
    private String unitName;

    @ApiModelProperty(value = "教育局/学校编号")
    private String unitCode;

    @ApiModelProperty(value = "学校类型(2：小学 3：中学 4：高中 5：中学+高中  6：小学+中学  7：小学+中学+高中)")
    private String orgNature;

    private Integer orgCode;

    @ApiModelProperty(value = "所属省市区县")
    private String location;

    private String province;

    private String city;

    private String area;

    @ApiModelProperty("层级")
    private Integer level;

    @ApiModelProperty("是否绑定管理员账号 true:绑定 false:未绑定")
    private Boolean isBind;

    @ApiModelProperty(value = "子级")
    private List<UnitVO> child;
}
